package com.xbb.entity;

import com.xbb.util.PoiHandler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 教师实体类
 * 
 * @author 兵
 *
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Teacher {
	@PoiHandler(excelHeader = "教师编号")
	private int tid; // 教师编号
	@PoiHandler(excelHeader = "卡号")
	private String tcardNo; // 卡号
	@PoiHandler(excelHeader = "名字")
	private String tname; // 名字
	@PoiHandler(excelHeader = "性别")
	private String tsex; // 性别
	@PoiHandler(excelHeader = "科室编号")
	private int sectionId; // 科室编号
	@PoiHandler(excelHeader = "状态")
	private String status; // 状态
	@PoiHandler(excelHeader = "备注", excelIgnore = true)
	private String remark; // 备注

	// 两表联查
	@PoiHandler(excelHeader = "科室名称", excelIgnore = true)
	private String secname; // 科室名称
}
